<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Kolors Virtual Try-On - AI虚拟换装神器</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background-color: #f9f9f9;
            color: #333;
            line-height: 1.6;
        }
        h1, h2, h3, h4 {
            font-family: 'Noto Serif SC', serif;
            font-weight: 600;
        }
        .hero {
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            color: white;
        }
        .card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-radius: 12px;
            overflow: hidden;
        }
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: #6e8efb;
        }
        .text-gradient {
            background: linear-gradient(90deg, #6e8efb, #a777e3);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .btn-primary {
            background: linear-gradient(90deg, #6e8efb, #a777e3);
            color: white;
            transition: all 0.3s ease;
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        .footer {
            background-color: #1a1a1a;
            color: #e5e7eb;
        }
        .footer a:hover {
            color: #6e8efb;
            text-decoration: underline;
        }
        .drop-cap::first-letter {
            float: left;
            font-size: 3.5em;
            line-height: 0.8;
            margin: 0.1em 0.1em 0.1em 0;
            color: #6e8efb;
            font-weight: 700;
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero py-20 px-4 md:px-0">
        <div class="container mx-auto max-w-5xl text-center">
            <h1 class="text-4xl md:text-6xl font-bold mb-6">Kolors Virtual Try-On</h1>
            <h2 class="text-2xl md:text-3xl font-medium mb-8">AI驱动的虚拟换装神器</h2>
            <p class="text-xl max-w-2xl mx-auto mb-10">通过上传照片，快速试穿不同风格的服装，无需实际换装，即可获得逼真的试衣效果</p>
            <a href="https://huggingface.co/spaces/Kwai-Kolors/Kolors-Virtual-Try-On" target="_blank" class="btn-primary inline-block px-8 py-3 rounded-full font-medium text-lg">立即体验</a>
        </div>
    </section>

    <!-- Main Content -->
    <main class="container mx-auto max-w-5xl px-4 md:px-0 py-16">
        <!-- Feature Image -->
        <div class="mb-16 rounded-xl overflow-hidden shadow-xl">
            <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1743585560902-8057b2de-be1b-4b3b-aa7b-d722aa872353.png" alt="Kolors Virtual Try-On 演示" class="w-full h-auto">
        </div>

        <!-- How It Works -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-center"><span class="text-gradient">AI 如何实现换装？</span></h2>
            <p class="drop-cap text-lg mb-8">Kolors Virtual Try-On 采用生成对抗网络（GAN）和姿态变换技术，结合深度图像合成，实现高质量的服装试穿效果。</p>
            
            <div class="grid md:grid-cols-3 gap-8">
                <div class="card bg-white p-6 shadow-md">
                    <div class="feature-icon"><i class="fas fa-cut"></i></div>
                    <h3 class="text-xl font-bold mb-3">图像分割</h3>
                    <p>AI 首先识别人体区域，并将衣物与背景区分开来。</p>
                </div>
                <div class="card bg-white p-6 shadow-md">
                    <div class="feature-icon"><i class="fas fa-user"></i></div>
                    <h3 class="text-xl font-bold mb-3">姿态调整</h3>
                    <p>使用 Pose Estimation（姿态估计）技术，使新衣服自然贴合用户的身体。</p>
                </div>
                <div class="card bg-white p-6 shadow-md">
                    <div class="feature-icon"><i class="fas fa-magic"></i></div>
                    <h3 class="text-xl font-bold mb-3">图像融合</h3>
                    <p>借助生成对抗网络（GAN），智能调整服装的光影、褶皱和细节，使其看起来更加真实。</p>
                </div>
            </div>
        </section>

        <!-- Process Visualization -->
        <section class="mb-16 bg-white p-6 rounded-xl shadow-md">
            <h3 class="text-2xl font-bold mb-6 text-center">AI 虚拟换装流程解析</h3>
            <div class="mermaid">
                graph TD
                    A[上传照片] --> B[人体检测与分割]
                    B --> C[姿态估计]
                    C --> D[服装选择]
                    D --> E[服装变形与对齐]
                    E --> F[光影与纹理调整]
                    F --> G[图像融合]
                    G --> H[输出结果]
            </div>
        </section>

        <!-- Features -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-center"><span class="text-gradient">主要功能</span></h2>
            <div class="grid md:grid-cols-2 gap-6">
                <div class="flex items-start">
                    <div class="text-blue-500 mr-4 mt-1"><i class="fas fa-check-circle text-xl"></i></div>
                    <div>
                        <h3 class="text-xl font-bold mb-2">AI 试衣</h3>
                        <p>上传一张照片，即可尝试不同风格的服饰，无需换装。</p>
                    </div>
                </div>
                <div class="flex items-start">
                    <div class="text-blue-500 mr-4 mt-1"><i class="fas fa-check-circle text-xl"></i></div>
                    <div>
                        <h3 class="text-xl font-bold mb-2">高精度合成</h3>
                        <p>服装贴合身体，保持原始人物的姿势和光影效果。</p>
                    </div>
                </div>
                <div class="flex items-start">
                    <div class="text-blue-500 mr-4 mt-1"><i class="fas fa-check-circle text-xl"></i></div>
                    <div>
                        <h3 class="text-xl font-bold mb-2">多种风格选择</h3>
                        <p>支持休闲、正式、潮流等不同类型的服装，适用于各种场合。</p>
                    </div>
                </div>
                <div class="flex items-start">
                    <div class="text-blue-500 mr-4 mt-1"><i class="fas fa-check-circle text-xl"></i></div>
                    <div>
                        <h3 class="text-xl font-bold mb-2">云端运行</h3>
                        <p>不需要安装软件，打开网页就能使用，轻松体验 AI 试衣。</p>
                    </div>
                </div>
            </div>
        </section>

        <!-- How to Use -->
        <section class="mb-16 bg-white p-8 rounded-xl shadow-md">
            <h2 class="text-3xl font-bold mb-8 text-center"><span class="text-gradient">如何使用？</span></h2>
            <div class="grid md:grid-cols-4 gap-6">
                <div class="text-center">
                    <div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
                        <span class="text-blue-600 text-2xl">1</span>
                    </div>
                    <h3 class="font-bold mb-2">访问官网</h3>
                    <p class="text-sm">点击上方按钮或访问<a href="https://huggingface.co/spaces/Kwai-Kolors/Kolors-Virtual-Try-On" target="_blank" class="text-blue-600 hover:underline"> Kolors Virtual Try-On</a></p>
                </div>
                <div class="text-center">
                    <div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
                        <span class="text-blue-600 text-2xl">2</span>
                    </div>
                    <h3 class="font-bold mb-2">上传照片</h3>
                    <p class="text-sm">选择一张清晰的正面照片，背景简单更佳</p>
                </div>
                <div class="text-center">
                    <div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
                        <span class="text-blue-600 text-2xl">3</span>
                    </div>
                    <h3 class="font-bold mb-2">选择服装</h3>
                    <p class="text-sm">挑选喜欢的服饰，AI 自动调整贴合身体</p>
                </div>
                <div class="text-center">
                    <div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
                        <span class="text-blue-600 text-2xl">4</span>
                    </div>
                    <h3 class="font-bold mb-2">查看 & 下载</h3>
                    <p class="text-sm">可以保存试穿效果，或继续尝试更多服装</p>
                </div>
            </div>
        </section>

        <!-- Use Cases -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-center"><span class="text-gradient">适用场景</span></h2>
            <div class="grid md:grid-cols-3 gap-6">
                <div class="card bg-white p-6 shadow-md">
                    <div class="text-purple-500 mb-3"><i class="fas fa-shopping-cart text-2xl"></i></div>
                    <h3 class="text-xl font-bold mb-3">在线购物</h3>
                    <p>电商平台可用来增强用户购物体验，提高购买转化率。</p>
                </div>
                <div class="card bg-white p-6 shadow-md">
                    <div class="text-purple-500 mb-3"><i class="fas fa-tshirt text-2xl"></i></div>
                    <h3 class="text-xl font-bold mb-3">时尚搭配</h3>
                    <p>用户可以尝试不同服饰风格，找到最适合自己的穿搭。</p>
                </div>
                <div class="card bg-white p-6 shadow-md">
                    <div class="text-purple-500 mb-3"><i class="fas fa-palette text-2xl"></i></div>
                    <h3 class="text-xl font-bold mb-3">个性化创作</h3>
                    <p>设计师、内容创作者可用于服装设计预览或数字艺术创作。</p>
                </div>
            </div>
        </section>

        <!-- CTA -->
        <section class="text-center mb-16">
            <h2 class="text-3xl font-bold mb-6">体验 AI 时代的智能换装</h2>
            <p class="text-xl max-w-2xl mx-auto mb-8">Kolors Virtual Try-On 让换装变得更轻松、更智能、更个性化，AI 让时尚更加便捷！</p>
            <a href="https://huggingface.co/spaces/Kwai-Kolors/Kolors-Virtual-Try-On" target="_blank" class="btn-primary inline-block px-8 py-3 rounded-full font-medium text-lg">立即体验 <i class="fas fa-arrow-right ml-2"></i></a>
        </section>
    </main>

    <!-- Footer -->
    <footer class="footer py-12 px-4 md:px-0">
        <div class="container mx-auto max-w-5xl text-center">
            <div class="mb-4">
                <h3 class="text-xl font-bold">技术小馆</h3>
            </div>
            <div>
                <a href="http://www.yuque.com/jtostring" target="_blank" class="hover:text-blue-400 transition-colors">http://www.yuque.com/jtostring</a>
            </div>
        </div>
    </footer>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            }
        });
    </script>
</body>
</html>